﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Net5ApiANdWpfClient.Lib.Common
{
    public static class PcConfig
    {
        /// <summary>
        /// Api地址
        /// </summary>
        public static string ApiUrl { get { return ConfigurationManager.AppSettings["ApiUrl"]; } }
        /// <summary>
        /// 文件服务器地址
        /// </summary>
        public static string FileServiceUrl { get { return ConfigurationManager.AppSettings["FileServiceUrl"]; } }
        /// <summary>
        /// 客户端类型
        /// </summary>
        public static string ClientType { get { return ConfigurationManager.AppSettings["ClientType"]; } }

        /// <summary>
        /// 全局页长度
        /// </summary>
        public static int PageSize { get { return int.Parse(ConfigurationManager.AppSettings["PageSize"]); } }

    }
}
